﻿@model IEnumerable<GSLMS.Entity.TB_SYS_METINFOSETMAIN>
@{
    Layout = null;
   
    ViewBag.ViewTitle = "材料清单模版";

    var SearchParma = ViewData["SearchParma"] as GSLMS.Entity.TB_SYS_METINFOSETMAIN ?? new GSLMS.Entity.TB_SYS_METINFOSETMAIN();
    var systemDataList = ViewData["SystemIDList"] as SelectList;
}
<form id="pagerForm" method="get" action="System/MetinfoSet/Index?action=page&OpID=@ViewData["OperateID"]">

</form>
<div class="pageHeader">
    <form onsubmit="return navTabSearch(this);" id="Form_@ViewData["CurrentController"]" action="System/MetinfoSet/Index?action=search&OpID=@ViewData["OperateID"]"
    method="post">
    <div class="searchBar">
        <table class="searchContent">
            <tr>
                <td>
                    清单名称：
                </td>
                <td>
                    @Html.TextBox("METINFONAME",SearchParma.METINFONAME)
                </td>
                <td>
                    对应系统：
                </td>
                <td>
                    @Html.DropDownList("SYSTEMID", systemDataList,GSLMS.WebAPP.HelperCommon.SelectDefaultValue)
                </td>
                
                                
                <td align="right">
                    <div class="subBar">
                        <ul>
                            <li>
                                <div class="buttonActive">
                                    <div class="buttonContent">
                                        <button type="submit" name="submit">
                                            检索</button></div>
                                </div>
                            </li>
                            <li>
                                <div class="buttonActive">
                                    <div class="buttonContent">
                                        <button type="reset" name="reset">
                                            重置</button></div>
                                </div>
                            </li>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    </form>
</div>
<div class="pageContent">
    @Html.Partial("Buttons")
    <table class="list" width="100%" layouth="112" id="tableAuditSetList">
        <thead>
            <tr class="header">
                <th>
                    清单名称
                </th>
                <th>
                    对应系统
                </th>
                <th>
                    创建人
                </th>
                <th>
                    修建时间
                </th>
                             
            </tr>
        </thead>
        @foreach (var item in Model)
        {            
            <tr target="MetInfoSet_ID" rel="@item.ID">
                <td>
                    @item.METINFONAME
                </td>
                <td>
                    @(Enum.GetName(typeof(GSLMS.Entity.Enum.SystemEnum.SystemID), item.SYSTEMID))
                </td>
                <td>
                    @item.CREATEBY
                </td>
                <td>
                    @item.CREATEDATE
                </td>
                
            </tr>
            
        }
    </table>
</div>

